import React, { Component } from 'react'
import { Text, View , StyleSheet } from 'react-native'

export default class index extends Component {
  render() {
    return (
      <View style={{height: '100%'}}>
        <Text style={styles.h1}> textInComponent </Text>
        <Text style={styles.h2}> textInComponent </Text>
      </View>
    )
  }
}

const styles = StyleSheet.create({
  h1:{
    fontSize: 40,
    color: 'blue'
  },
  h2:{
    fontSize: 30,
    color: 'green'
  }
});
